package com.efast.dmom.mgmt.service.les;

import java.util.List;

import com.efast.dmom.mgmt.entity.les.TwBasPackSkuQty;
import com.efast.dmom.mgmt.entity.mes.TeMesOutbound;
import com.efast.dmom.mgmt.utils.Assist;

public interface TwBasPackSkuQtyService {
	/**
	 * 获得TwBasPackSkuQty数据的总行数,可以通过辅助工具Assist进行条件查询,如果没有条件则传入null
	 * 
	 * @param assist
	 * @return
	 */
	long getTwBasPackSkuQtyRowCount(Assist assist);

	/**
	 * 获得TwBasPackSkuQty数据集合,可以通过辅助工具Assist进行条件查询,如果没有条件则传入null
	 * 
	 * @param assist
	 * @return
	 */
	List<TwBasPackSkuQty> selectTwBasPackSkuQty(Assist assist);

	/**
	 * 获得一个TwBasPackSkuQty对象,以参数TwBasPackSkuQty对象中不为空的属性作为条件进行查询
	 * 
	 * @param obj
	 * @return
	 */
	TwBasPackSkuQty selectTwBasPackSkuQtyByObj(TwBasPackSkuQty obj);

	/**
	 * 通过TwBasPackSkuQty的id获得TwBasPackSkuQty对象
	 * 
	 * @param id
	 * @return
	 */
	TwBasPackSkuQty selectTwBasPackSkuQtyById(Integer id);

	/**
	 * 插入TwBasPackSkuQty到数据库,包括null值
	 * 
	 * @param value
	 * @return
	 */
	int insertTwBasPackSkuQty(TwBasPackSkuQty value);

	/**
	 * 插入TwBasPackSkuQty中属性值不为null的数据到数据库
	 * 
	 * @param value
	 * @return
	 */
	int insertNonEmptyTwBasPackSkuQty(TwBasPackSkuQty value);

	/**
	 * 批量插入TwBasPackSkuQty到数据库
	 * 
	 * @param value
	 * @return
	 */
	int insertTwBasPackSkuQtyByBatch(List<TwBasPackSkuQty> value);

	/**
	 * 通过TwBasPackSkuQty的id删除TwBasPackSkuQty
	 * 
	 * @param id
	 * @return
	 */
	int deleteTwBasPackSkuQtyById(Integer id);

	/**
	 * 通过辅助工具Assist的条件删除TwBasPackSkuQty
	 * 
	 * @param assist
	 * @return
	 */
	int deleteTwBasPackSkuQty(Assist assist);

	/**
	 * 通过TwBasPackSkuQty的id更新TwBasPackSkuQty中的数据,包括null值
	 * 
	 * @param enti
	 * @return
	 */
	int updateTwBasPackSkuQtyById(TwBasPackSkuQty enti);

	/**
	 * 通过辅助工具Assist的条件更新TwBasPackSkuQty中的数据,包括null值
	 * 
	 * @param value
	 * @param assist
	 * @return
	 */
	int updateTwBasPackSkuQty(TwBasPackSkuQty value, Assist assist);

	/**
	 * 通过TwBasPackSkuQty的id更新TwBasPackSkuQty中属性不为null的数据
	 * 
	 * @param enti
	 * @return
	 */
	int updateNonEmptyTwBasPackSkuQtyById(TwBasPackSkuQty enti);

	/**
	 * 通过辅助工具Assist的条件更新TwBasPackSkuQty中属性不为null的数据
	 * 
	 * @param value
	 * @param assist
	 * @return
	 */
	int updateNonEmptyTwBasPackSkuQty(TwBasPackSkuQty value, Assist assist);

	/**
	 * 产品执行增肌库存余量表信息
	 * @param outboundList
	 */
	void updateTwBasPackSkuQtyByProduce(List<TeMesOutbound> outboundList);
}